package com.ktgj.customer.api.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 常用旅客信息对象 common_travelers
 * 
 * @author ruoyi
 * @date 2021-09-01
 */
public class CommonTravelers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long commonTrvelersId;

    /** 主键自增 */
    private String trvelersId;

    /** 中文姓名 */
    @Excel(name = "中文姓名")
    private String chineseName;

    /** 英文姓 */
    @Excel(name = "英文姓")
    private String englishSurname;

    /** 英文名 */
    @Excel(name = "英文名")
    private String englishName;

    /** 身份证 */
    @Excel(name = "身份证")
    private String identityCard;

    /** 省份证件有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "省份证件有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date idCardValid;

    /** 护照 */
    @Excel(name = "护照")
    private String passport;

    /** 护照证件有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "护照证件有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date passportValid;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateOfBirth;

    /** 国籍 */
    @Excel(name = "国籍")
    private String nationality;

    /** 手机号（国内） */
    @Excel(name = "手机号", readConverterExp = "国=内")
    private String domesticPhone;

    /** 是否为默认旅客信息 */
    @Excel(name = "是否为默认旅客信息")
    private String whetherTravelerInformation;

    /** 会员id */
    @Excel(name = "会员id")
    private Long memberId;

    /** 国家Id */
    @Excel(name = "国家Id")
    private Long nationId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDeletes;

    /** 票种 */
    @Excel(name = "票种")
    private String ticketType;

    /** 旅客证件 */
    @Excel(name = "旅客证件")
    private PassengerDocuments documents;

    public String getIsDeletes() {
        return isDeletes;
    }

    public void setIsDeletes(String isDeletes) {
        this.isDeletes = isDeletes;
    }

    public Long getNationId() {
        return nationId;
    }

    public void setNationId(Long nationId) {
        this.nationId = nationId;
    }

    public Long getCommonTrvelersId() {
        return commonTrvelersId;
    }

    public void setCommonTrvelersId(Long commonTrvelersId) {
        this.commonTrvelersId = commonTrvelersId;
    }

    public void setChineseName(String chineseName)
    {
        this.chineseName = chineseName;
    }

    public String getChineseName() 
    {
        return chineseName;
    }
    public void setEnglishSurname(String englishSurname) 
    {
        this.englishSurname = englishSurname;
    }

    public String getEnglishSurname() 
    {
        return englishSurname;
    }
    public void setEnglishName(String englishName) 
    {
        this.englishName = englishName;
    }

    public String getEnglishName() 
    {
        return englishName;
    }
    public void setIdentityCard(String identityCard) 
    {
        this.identityCard = identityCard;
    }

    public String getIdentityCard() 
    {
        return identityCard;
    }
    public void setIdCardValid(Date idCardValid) 
    {
        this.idCardValid = idCardValid;
    }

    public Date getIdCardValid() 
    {
        return idCardValid;
    }
    public void setPassport(String passport) 
    {
        this.passport = passport;
    }

    public String getPassport() 
    {
        return passport;
    }
    public void setPassportValid(Date passportValid) 
    {
        this.passportValid = passportValid;
    }

    public Date getPassportValid() 
    {
        return passportValid;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setDateOfBirth(Date dateOfBirth) 
    {
        this.dateOfBirth = dateOfBirth;
    }

    public Date getDateOfBirth() 
    {
        return dateOfBirth;
    }
    public void setNationality(String nationality) 
    {
        this.nationality = nationality;
    }

    public String getNationality() 
    {
        return nationality;
    }
    public void setDomesticPhone(String domesticPhone) 
    {
        this.domesticPhone = domesticPhone;
    }

    public String getDomesticPhone() 
    {
        return domesticPhone;
    }
    public void setWhetherTravelerInformation(String whetherTravelerInformation) 
    {
        this.whetherTravelerInformation = whetherTravelerInformation;
    }

    public String getWhetherTravelerInformation() 
    {
        return whetherTravelerInformation;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }

    public String getTicketType() {
        return ticketType;
    }

    public void setTicketType(String ticketType) {
        this.ticketType = ticketType;
    }

    public PassengerDocuments getDocuments() {
        return documents;
    }

    public void setDocuments(PassengerDocuments documents) {
        this.documents = documents;
    }

    public String getTrvelersId() {
        return trvelersId;
    }

    public void setTrvelersId(String trvelersId) {
        this.trvelersId = trvelersId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commonTrvelersId", getCommonTrvelersId())
            .append("chineseName", getChineseName())
            .append("englishSurname", getEnglishSurname())
            .append("englishName", getEnglishName())
            .append("identityCard", getIdentityCard())
            .append("idCardValid", getIdCardValid())
            .append("passport", getPassport())
            .append("passportValid", getPassportValid())
            .append("gender", getGender())
            .append("dateOfBirth", getDateOfBirth())
            .append("nationality", getNationality())
            .append("domesticPhone", getDomesticPhone())
            .append("whetherTravelerInformation", getWhetherTravelerInformation())
            .append("memberId", getMemberId())
            .append("ticketType", getTicketType())
            .toString();
    }
}
